package com.example.adminframework.model.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 列
 */
@ApiModel("列")
public class ColumnBO {
    /**
     * 名称
     */
    @ApiModelProperty("名称。支持别名，支持聚集函数，如[count(field) alias]")
    private String name;

    public ColumnBO() {
    }

    public ColumnBO(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "ColumnBO{" +
                "name='" + name + '\'' +
                '}';
    }
}
